package com.hyl.domain.activity.service.discount.impl;

import com.hyl.domain.activity.model.valobj.GroupBuyActivityDiscountVO;
import com.hyl.domain.activity.service.discount.IDiscountCalculateService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.math.BigDecimal;

/**
 * @author hyl
 * @description
 * @create 2025-06-17 20:30
 */
@Slf4j
@Service("NC")
public class NCCalculateService implements IDiscountCalculateService {


    @Override
    public BigDecimal calculate(String userId, BigDecimal originalPrice, GroupBuyActivityDiscountVO.GroupBuyDiscount groupBuyDiscount) {
        String marketExpr = groupBuyDiscount.getMarketExpr();


        return new  BigDecimal(marketExpr);
    }
}
